package com.flyco.modules.stm.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 导购
 * @Author: flyco
 * @Date:   2020-09-10
 * @Version: V1.0
 */
@Data
@TableName("stm_sales")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="stm_sales对象", description="导购")
public class StmSales {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**企业微信用户id*/
	@Excel(name = "企业微信用户id", width = 15)
    @ApiModelProperty(value = "企业微信用户id")
	private String userId;
	/**导购员名称*/
	@Excel(name = "导购员名称", width = 15)
    @ApiModelProperty(value = "导购员名称")
	private String name;
	/**1男,2女*/
	@Excel(name = "1男,2女", width = 15)
    @ApiModelProperty(value = "1男,2女")
	private String gender;
	/**头像照片url*/
	@Excel(name = "头像照片url", width = 15)
    @ApiModelProperty(value = "头像照片url")
	private String avatar;
	/**员工个人二维码url*/
	@Excel(name = "员工个人二维码url", width = 15)
	@ApiModelProperty(value = "员工个人二维码url")
	private String qrCode;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
	private String phone;
	/**工号*/
	@Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
	private String workNo;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
	@TableLogic
	private Integer delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
